<layout name='PublishedRecipe' />
    <div class="center">
    	<div class="dq_weizhi">Current position: Home >> recipes >> dish</div>
    	<div class="left">
        	<div class="ingred">
            	<img src="../Public/images/shucai.jpg" />
                <p><h2>Ingredients</h2>
                <form action="__APP__/Food/search" method="post">
                    <span class="kuang"><input name="search" id="foodsearch" type="text"></span>
                    <span class="ss"><input type="submit" value="Search"></span>
                </form>
                </p>
            </div>
        	<div class="all_rep">
                <div class="foodcai">
					<ul>
                        <volist name="foodarticleinfo" id="vo">
                            <li>
                                <span class="sc_tu"><a href="__APP__/Food/foodinfo/sid/<{$vo.categoryid}>/id/<{$vo.id}>"><img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vo.image}>" /></a></span>
                            <span class="sc_text"><h2><a href="__APP__/Food/foodinfo/sid/<{$vo.categoryid}>/id/<{$vo.id}>"><{$vo.name}></a></h2>
                            <notempty name="vo.alias">
                                <p>Alias: <{$vo.alias}></p>
                            </notempty>
							<p>Calories: <{$vo.foodnutritions.calories}> kcal (100 grams) Potassium: <{$vo.foodnutritions.potassium}> mg Phosphorus: <{$vo.foodnutritions.phosphorus}> %</p></span>
                                <div style="clear:both;"></div>
                            </li>
                        </volist>

                    </ul>                
                </div>
            </div>
            <div style="clear:both;"></div>
            <div class="fanye_box">

                <notempty name="foodarticleinfo">
                    <div class="fanye_text">
                        <{$fpage}>
                    </div>
                </notempty>

                <div></div>
                <div style="clear:both;"></div>
            </div>


        </div>
        
        <div class="right">
        	<div class="most_popular">
            	<h2 class="right_twoh">Most popular ingredients</h2>
                <ul>
                    <volist name="foodarticleinfos" id="vo">
                        <li>
                            <a href="#"><img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vo.image}>" /></a>
                            <p><h4><{$vo.name}></h4>Calories: <{$vo.foodnutritions.calories}> kcal (100 grams) Potassium: <{$vo.foodnutritions.potassium}> mg</p>
                        </li>
                    </volist>
                </ul>
            </div>
            
            <div style="clear:both;"></div>
            <div class="season">
                <h2 class="right_twoh">On season</h2>
                <div class="sea_nav">
                    <ul>
                        <li onclick="javascript:menu(1)" id="b1" class="b">Fruit</li>
                        <li onclick="javascript:menu(2)" id="b2">Vegetable</li>
                        <li onclick="javascript:menu(3)" id="b3">Seafood</li>
                    </ul>
                </div>
                <div class="sea_pic" id="a1" style="display:block;">
                    <ul>
                        <volist name="foodinfof" id="vof">
                            <li>
                                <a href="__APP__/Food/foodinfo/sid/<{$vof.categoryid}>/id/<{$vof.id}>">
                                    <img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vof.image}>" /></a>
                                <p><a title="<{$vof.name}>" href="__APP__/Food/foodinfo/sid/<{$vof.categoryid}>/id/<{$vof.id}>">
                                    <gt name="vof.name|mb_strlen='utf-8'" value="10">
                                        <{$vof.name|mb_substr=0,10,"utf-8"}>
                                        <else/>
                                        <{$vof.name}>
                                    </gt>

                                </a></p>
                            </li>
                        </volist>
                    </ul>
                </div>
                <div class="sea_pic" id="a2" style="display:none;">
                    <ul>
                        <volist name="foodinfov" id="vov">
                            <li>
                                <a href="__APP__/Food/foodinfo/sid/<{$vov.categoryid}>/id/<{$vov.id}>">
                                    <img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vov.image}>" /></a>
                                <p><a title="<{$vov.name}>" href="__APP__/Food/foodinfo/sid/<{$vov.categoryid}>/id/<{$vov.id}>">
                                    <gt name="vov.name|mb_strlen='utf-8'" value="10">
                                        <{$vov.name|mb_substr=0,10,"utf-8"}>
                                        <else/>
                                        <{$vov.name}>
                                    </gt>

                                </a></p>
                            </li>
                        </volist>
                    </ul>
                </div>
                <div class="sea_pic" id="a3" style="display:none;">
                    <ul>
                        <volist name="foodinfos" id="vos">
                            <li>
                                <a href="__APP__/Food/foodinfo/sid/<{$vos.categoryid}>/id/<{$vos.id}>">
                                    <img src="__PUBLIC__/Content/FoodArticle/thumb_<{$vos.image}>" /></a>
                                <p><a title="<{$vos.name}>" href="__APP__/Food/foodinfo/sid/<{$vos.categoryid}>/id/<{$vos.id}>">
                                    <gt name="vos.name|mb_strlen='utf-8'" value="10">
                                        <{$vos.name|mb_substr=0,10,"utf-8"}>
                                        <else/>
                                        <{$vos.name}>
                                    </gt>

                                </a></p>
                            </li>
                        </volist>
                    </ul>
                </div>
            </div>
            
        </div>
    </div>
